package com.softwarerusher.model;

import java.util.HashSet;
import java.util.Set;

/**
 * TPress entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TPress implements java.io.Serializable {

	// Fields

	private Integer pressId;
	private String pressName;
	private Set TBooks = new HashSet(0);

	// Constructors

	/** default constructor */
	public TPress() {
	}

	/** minimal constructor */
	public TPress(String pressName) {
		this.pressName = pressName;
	}

	/** full constructor */
	public TPress(String pressName, Set TBooks) {
		this.pressName = pressName;
		this.TBooks = TBooks;
	}

	// Property accessors

	public Integer getPressId() {
		return this.pressId;
	}

	public void setPressId(Integer pressId) {
		this.pressId = pressId;
	}

	public String getPressName() {
		return this.pressName;
	}

	public void setPressName(String pressName) {
		this.pressName = pressName;
	}

	public Set getTBooks() {
		return this.TBooks;
	}

	public void setTBooks(Set TBooks) {
		this.TBooks = TBooks;
	}

}